﻿<%@ Page Language="C#"  MasterPageFile="~/MasterPage/admin/admin.master"  AutoEventWireup="true" CodeBehind="PrescriptionDetail.aspx.cs" Inherits="web.admin.PrescriptionDetail" 
    Title="中药方剂查看%>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
       
    <table cellspacing="0" cellpadding="0" width="100%" border="0">
        <tbody>
	        <tr>
	            <td>
	                <asp:Label ID="errorMsg" Visible="false" Text="" runat="server" ForeColor="red"/>
	                
                    <asp:DetailsView ID="PrescriptionDetailsView" runat="server" AutoGenerateRows="False" SkinID="orange" DataKeyNames="Id" DefaultMode="Edit">
                        <Fields>
                        
                            <asp:TemplateField HeaderText="医院：" >
                                <EditItemTemplate>
                                    <asp:TextBox ID="tbDoctorHospital" runat="server" width="200" ReadOnly="true" Text='<%# Eval("DoctorHospital") %>' />
                                </EditItemTemplate>
                            </asp:TemplateField>  
                                                    
                            <asp:TemplateField HeaderText="医生：" >
                                <EditItemTemplate>
                                    <asp:TextBox ID="tbDoctorName" runat="server"  width="200" ReadOnly="true" Text='<%# Eval("DoctorName") %>' />
                                </EditItemTemplate>
                            </asp:TemplateField>
                            
                            <asp:TemplateField HeaderText="疾病: " >
                                <EditItemTemplate>
                                    <asp:TextBox ID="tbDiseaseName" runat="server"  width="200" ReadOnly="true" Text='<%# Eval("DiseaseName") %>' />
                                </EditItemTemplate>
                            </asp:TemplateField>
                            
                            <asp:TemplateField HeaderText="平均得分: " >
                                <EditItemTemplate>
                                    <asp:TextBox ID="tbAverageScore" runat="server"  width="200" ReadOnly="true" Text='<%# Eval("AverageScore") %>' />
                                </EditItemTemplate>
                            </asp:TemplateField>
                            
                            <asp:TemplateField HeaderText="详细描述" >
                                <EditItemTemplate>
                                    <asp:TextBox ID="tbDescription" runat="server" TextMode="MultiLine" ReadOnly="true" width="600" height="300" Text='<%# Eval("Description") %>' />
                                </EditItemTemplate>
                            </asp:TemplateField>
                            
                            <asp:TemplateField>
                                 <EditItemTemplate>
                                    <input type="button" Value="返回上一页" OnClick='javascript:window.history.go(-1)' /> &nbsp;
                                </EditItemTemplate>
                            </asp:TemplateField>
                        </Fields>
                    </asp:DetailsView>
	            </td>
	        </tr> 	    
	    </tbody>
    </table>	        
</asp:Content>
